package com.gupaoedu.design.proxy.statics;

import com.gupaoedu.design.proxy.Person;

/**
 * <p>静态代理</p>
 *
 * @author Andy
 * @date 2018/3/12.
 */
public class Father {
    private Person person;

    public Father(Person person) {
        this.person = person;
    }

    public void findLove() {
        System.out.println("根据你的要求物色");
        this.person.findLove();
        System.out.println("双方父母是不是同意");
    }
}
